<!-- left -->

		
		<!-- new  product -->
		<div class="block">
			<h3 class="title">
                <?php 
                    if(isset($this->title)){
                        echo $this->title;
                    }else{
                ?>
                <?php echo $this->translate('Danh sách sản phẩm')?>
                <?php }?>
            </h3>
			
			<!-- list product -->
			<div class="content">
				<p class='count-item'><?php echo $this->countItem .' '.$this->translate('kết quả')?></p>
				<?php foreach($this->paginator as $item):?>
				<div class="product-item">
					<div class="product-image">
						<a href="<?php echo $this->baseUrl('/'.LANG.'/san-pham/chi-tiet/'.$item['product_id'].'-'.$item['product_alias'].'.html')?>">
						<img src="<?php echo PUBLIC_RESOURCE.'/uploads/images/products/thumbs/'.$item['product_image']?>" title="" /></a>
					</div>
					<p>
						<a href="<?php echo $this->baseUrl('/'.LANG.'/san-pham/chi-tiet/'.$item['product_id'].'-'.$item['product_alias'].'.html')?>" class="name"><?php echo $item['product_name']?></a>
					</p>
					<?php 
						if($item['product_saleoff_status']==1 && $this->currentTime < $item['product_saleoff_end']){						
					?>
						<p>
						<a href="<?php echo $this->baseUrl('/'.LANG.'/san-pham/chi-tiet/'.$item['product_id'].'-'.$item['product_alias'].'.html')?>" class="price price-old"><?php echo number_format($item['product_price_old'])?> vnd</a>
					</p>
					<?php 
						}
					?>
					<p>
						<a href="<?php echo $this->baseUrl('/'.LANG.'/san-pham/chi-tiet/'.$item['product_id'].'-'.$item['product_alias'].'.html')?>" class="price"><?php echo number_format($item['product_price'])?> vnd</a>
					</p>
				
				</div>
				<?php endforeach;?>
				<div class="clearb"></div>
				
				<!-- PHAN TRANG -->
				<div class="controller">										
					<?php echo $this->paginationControl($this->paginator,'Sliding','partial/pagination.phtml'); ?>					
				</div><!-- END PHAN TRANG -->
			</div>
			
			
		</div>
		
			

